package com.theaf.core.utils;

import java.io.IOException;

/**
 * 序列工具类.
 * @author huangligui
 * @date 2015-11-20
 *
 */
public class SerializationUtils {

	public static byte[] serialize(Object o)  throws IOException
	{
		 return org.springframework.util.SerializationUtils.serialize(o);

	}
	public static Object deserialize(byte[] bs) throws IOException
	{

		 return org.springframework.util.SerializationUtils.deserialize(bs);
	}
}
